FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wengzhonghui4@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /data/tmp
RUN mkdir -p /apps
WORKDIR /apps
EXPOSE 6021
ADD ./target/crud-starter.zip ./
RUN unzip ./crud-starter.zip
RUN  rm -rf ./crud-starter.zip
CMD ["/apps/crud-starter/bin/start.sh"]
